/* eslint-disable */
export const qnhbMarkers = {
  icon: "icon-qiye",
  text:'清能',
  position: [
    { longitude: 120.505208, latitude: 30.037026, count: 96 },
  ]
};

export const zsMarkers = {
  icon: "icon-qiye",
  text:'再生',
  position: [
    { longitude: 120.563401, latitude: 30.017557, count: 98 },
  ]
};

export const qyMarkers = {
  icon: "icon-qiye",
  text:'清运',
  position: [
    { longitude: 120.564774, latitude: 30.03554, count: 86 },
  ]
};

export const welMarkers = {
  icon: "icon-qiye",
  text:'维尔利',
  position: [
    { longitude: 120.619363, latitude: 29.958084, count: 98 }
  ]
};

export function menuButtons() {
  let onClick = (name, flag) => {
    this.setState({
      isShowMoreNums: false,
      [name]: flag
    })
  }
  return [
    {
      text: '危险废物',
      list: [
        { name: '学校', icon: 'icon-xuexiao', handleClick: (flag) => onClick("isShowXueXiao", flag) },
        { name: '园区', icon: 'icon-shiliangzhinengduixiang3', handleClick: (flag) => onClick("isShowYuanQu", flag) },
        { name: '社区', icon: 'icon-shequ', handleClick: (flag) => onClick("isShowSheQu", flag) },
        { name: '企业', icon: 'icon-qiye1', handleClick: (flag) => onClick("isShowQiYe", flag) },
        { name: '机关', icon: 'icon-jiguan', handleClick: (flag) => onClick("isShowJiGuan", flag) },
        { name: '商场', icon: 'icon-shangchang', handleClick: (flag) => onClick("isShowShangChang", flag) },
        { name: '村镇', icon: 'icon-gongluyanxiancunzhen', handleClick: (flag) => onClick("isShowCunzhen", flag) },
        { name: '饭店', icon: 'icon-fandian', handleClick: (flag) => onClick("isShowFanDian", flag) },
        { name: '市场', icon: 'icon-shichang', handleClick: (flag) => onClick("isShowJiMaoShiChang", flag) },
        { name: '家庭', icon: 'icon-jiating', handleClick: (flag) => onClick("isShowJiaTing", flag) },
      ]
    }
  ]
}

export function moreNumsMarkers() {
  const onClick = (event) => {
    const { lng, lat } = event.lnglat;
    // this.handleSwitchChange("cityPoint");
    // setTimeout(() => {
    //   this.map && this.map.setZoomAndCenter(12, [lng, lat]);
    // }, 500)
  };
  return {
    position: [
      { longitude: 120.65414, latitude: 30.00958, text: 8, name: '越城区', shape: "round", bgColor: "#4BD0FF", color: "#FFF", onClick },
      { longitude: 120.431667, latitude: 30.05357, text: 4, name: '柯桥区', shape: "round", bgColor: "#4BD0FF", color: "#FFF", onClick },
      { longitude: 120.904079, latitude: 29.938203, text: 5, name: '上虞区', shape: "round", bgColor: "#4BD0FF", color: "#FFF", onClick },
      { longitude: 120.909572, latitude: 29.402443, text: 4, name: '新昌县', shape: "round", bgColor: "#FF8B78", color: "#FFF", onClick },
      { longitude: 120.303951, latitude: 29.640248, text: 5, name: '诸暨市', shape: "round", bgColor: "#4BD0FF", color: "#FFF", onClick },
      { longitude: 120.77911, latitude: 29.676049, text: 4, name: '嵊州市', shape: "round", bgColor: "#4BD0FF", color: "#FFF", onClick },
    ]
  }
}

export const ShangYuQuMarkersNum = {
  icon: [10,21,2,8],
  position: [
    { longitude: 120.884395, latitude: 29.451296 },
    { longitude: 120.431399, latitude: 29.726209 },
    { longitude: 120.82227, latitude: 29.565964 },
    { longitude: 120.874302, latitude: 29.899055 },
  ]
};

export const laJiFenShaoMarkers = {
  icon: "icon-qiye",
  position: [
    { longitude: 120.579983, latitude: 29.993524, count: 100 },
    { longitude: 120.563401, latitude: 30.017557, count: 98 },
    { longitude: 120.643395, latitude: 30.017557, count: 97 },
    { longitude: 120.569066, latitude: 29.978011, count: 90 }
  ]
};

export const laJiTianMaiMarkers = {
  icon: "icon-zaixianyunshucheliang",
  position: [
    { longitude: 120.594472, latitude: 30.031379, count: 80 },
    { longitude: 120.513276, latitude: 29.998975, count: 99 },
    { longitude: 120.564774, latitude: 30.03554, count: 86 },
    { longitude: 120.619363, latitude: 29.958084, count: 98 }
  ]
};

export const canChuChuLiMarkers = {
  icon: "icon-xiaoqu",
  position: [
    { longitude: 120.505208, latitude: 30.037026, count: 96 },
    { longitude: 120.555676, latitude: 29.963736, count: 86 },
    { longitude: 120.65112, latitude: 30.028852, count: 78 },
    { longitude: 120.690774, latitude: 29.968792, count: 84 },
    { longitude: 120.489243, latitude: 29.956597, count: 100 }
  ]
};

// 新昌县
export const xinChangXianMarkers = {
  icon: 'icon-xuexiao',
  position: [
    { longitude: 120.884395, latitude: 29.451296 },
  ]
}

// 新昌县
export const xinChangXianMarkers1 = {
  icon: 'icon-shequ',
  position: [
    { longitude: 120.99546, latitude: 29.346008 },
  ]
}

// 新昌县
export const xinChangXianMarkers2 = {
  icon: 'icon-jiguan',
  position: [
    { longitude: 120.90435, latitude: 29.499771 },
  ]
}

// 诸暨市
export const geJiShiMarkers = {
  icon: 'icon-xuexiao',
  position: [
    { longitude: 120.431399, latitude: 29.726209 },
  ]
}

// 诸暨市
export const geJiShiMarkers1 = {
  icon: 'icon-shequ',
  position: [
    { longitude: 120.296816, latitude: 29.648662 },
  ]
}

// 诸暨市
export const geJiShiMarkers2 = {
  icon:  'icon-jiguan',
  position: [
    { longitude: 120.231585, latitude: 29.720843 },
  ]
}

// 嵊州市
export const ChengZhouShiMarkers = {
  icon: 'icon-xuexiao',
  position: [
    { longitude: 120.82227, latitude: 29.565964 },
  ]
}

// 嵊州市
export const ChengZhouShiMarkers1 = {
  icon: 'icon-shequ',
  position: [
    { longitude: 120.822957, latitude: 29.767628 },
  ]
}

// 嵊州市
export const ChengZhouShiMarkers2 = {
  icon: 'icon-jiguan',
  position: [
    { longitude: 120.628636, latitude: 29.620298 },
  ]
}

// 上虞区
export const ShangYuQuMarkers = {
  icon: 'icon-xuexiao',
  position: [
    { longitude: 120.874302, latitude: 29.899055, color: '#ffcb49', },
  ]
}

// 上虞区
export const ShangYuQuMarkers1 = {
  icon: 'icon-shequ',
  position: [
    { longitude: 120.868809, latitude: 30.031115 },
  ]
}

// 上虞区
export const ShangYuQuMarkers2 = {
  icon:'icon-jiguan',
  position: [
    { longitude: 120.776798, latitude: 30.211667 },
  ]
}

// 越城区
export const yueChengQuMarkers = {
  icon: 'icon-xuexiao',
  position: [
    { longitude: 120.582633, latitude: 29.988245 },
  ]
}

// 越城区
export const yueChengQuMarkers1 = {
  icon: 'icon-shequ',
  position: [
    { longitude: 120.598769, latitude: 30.108529 },
  ]
}

// 越城区
export const yueChengQuMarkers2 = {
  icon:  'icon-jiguan',
  position: [
    { longitude: 120.538344, latitude: 29.92511 },
  ]
}

// 柯桥区
export const keQiaoQuMarkers = {
  icon: 'icon-xuexiao',
  position: [
    { longitude: 120.495065, latitude: 30.081942 },
  ]
}

// 柯桥区
export const keQiaoQuMarkers1 = {
  icon:'icon-shequ',
  position: [
    { longitude: 120.411981, latitude: 30.03055 },
  ]
}

// 柯桥区
export const keQiaoQuMarkers2 = {
  icon:  'icon-jiguan',
  position: [
    { longitude: 120.493348, latitude: 30.131558 },
  ]
}

// 诸暨市
export const ZhuJiShiMarkers = {
  icon: 'icon-xuexiao',
  position: [
    { longitude: 120.094534, latitude: 29.717063 },
    { longitude: 120.167318, latitude: 29.799324 },
    { longitude: 120.229116, latitude: 29.854128 },
    { longitude: 120.271688, latitude: 29.743299 },
    { longitude: 120.216756, latitude: 29.70275 },
    { longitude: 120.174184, latitude: 29.635928 },
    { longitude: 120.345846, latitude: 29.569062 },
    { longitude: 120.277181, latitude: 29.540391 },
    { longitude: 120.42687, latitude: 29.534417 },
    { longitude: 120.443349, latitude: 29.61444 },
    { longitude: 120.458456, latitude: 29.684856 },
    { longitude: 120.446096, latitude: 29.721834 },
    { longitude: 120.432363, latitude: 29.802899 },
    { longitude: 120.347219, latitude: 29.798133 },
  ]
}

// 社区
export const sheQuMarkers = {
  icon: "icon-shequ",
  position: [
    { longitude: 120.490719, latitude: 29.945343 },
    { longitude: 120.604702, latitude: 29.789336 },
    { longitude: 120.805202, latitude: 29.903685 },
    { longitude: 120.854641, latitude: 29.99293 },
    { longitude: 121.001583, latitude: 29.79172 },
    { longitude: 120.88348, latitude: 29.645022 },
    { longitude: 120.961757, latitude: 29.473006 },
    { longitude: 121.137539, latitude: 29.470615 },
  ]
}

// 园区点位
export const yuanQuMarkers = {
  icon: "icon-shiliangzhinengduixiang3",
  position: [
    { longitude: 120.279988, latitude: 29.713651 },
    { longitude: 120.636288, latitude: 29.814957 },
    { longitude: 120.912319, latitude: 29.841167 },
    { longitude: 120.574489, latitude: 30.013742 },
    { longitude: 120.832668, latitude: 30.019687 },
    { longitude: 120.617061, latitude: 29.696927 },
  ]
}

// 学校点位
export const touFangDianMarkers = {
  icon: 'icon-xuexiao',
  position: [
    { longitude: 120.380855, latitude: 29.765497 },
    { longitude: 120.54565, latitude: 29.777417 },
    { longitude: 120.637661, latitude: 29.593687 },
    { longitude: 120.965878, latitude: 29.586522 },
    { longitude: 120.937038, latitude: 29.836998 },
    { longitude: 120.743404, latitude: 29.953672 },
    { longitude: 120.486599, latitude: 30.000066 },
    { longitude: 121.030422, latitude: 29.409621 },
    { longitude: 120.817562, latitude: 29.414406 },
  ]
}

// 小区点位
export const xiaoQuMarkers = {
  icon: 'icon-xiaoqu',
  position: [
    { longitude: 120.360256, latitude: 29.867965 },
    { longitude: 120.43716, latitude: 29.763112 },
    { longitude: 120.118557, latitude: 29.662923 },
    { longitude: 120.652767, latitude: 29.63786 },
    { longitude: 120.956264, latitude: 29.630698 },
    { longitude: 120.873867, latitude: 29.859629 },
    { longitude: 120.676113, latitude: 29.831041 },
    { longitude: 120.676113, latitude: 29.942963 },
    { longitude: 120.599209, latitude: 30.047627 },
    { longitude: 120.486599, latitude: 29.99293 },
    { longitude: 120.836788, latitude: 29.416799 },
  ]
}

// 中转站点位
export const zhongZhuanZhanMarkers = {
  icon: 'icon-zhongzhuanzhan',
  position: [
    { longitude: 120.466, latitude: 29.939393 },
    { longitude: 120.369869, latitude: 29.739267 },
    { longitude: 120.651394, latitude: 29.834615 },
    { longitude: 121.016689, latitude: 29.867965 },
    { longitude: 120.818935, latitude: 30.019093 },
    { longitude: 120.945278, latitude: 29.622342 },
    { longitude: 120.715939, latitude: 29.609209 },
    { longitude: 121.130672, latitude: 29.415602 },
  ]
}

// 村镇点位
export const yunShuQiYeMarkers = {
  icon: 'icon-gongluyanxiancunzhen',
  position: [
    { longitude: 120.288228, latitude: 29.807236 },
    { longitude: 120.211324, latitude: 29.639079 },
    { longitude: 120.680989, latitude: 29.617591 },
    { longitude: 120.642537, latitude: 29.822726 },
    { longitude: 120.955647, latitude: 29.860844 },
    { longitude: 121.022938, latitude: 29.389306 },
    { longitude: 120.608205, latitude: 30.044085 },
    { longitude: 120.844411, latitude: 30.128452 },
    { longitude: 120.453023, latitude: 29.945367 },
  ]
}

// 饭店点位
export const yunShuCheLiangMarkers = {
  icon: 'icon-fandian',
  position: [
    { longitude: 121.079861, latitude: 29.444308 },
    { longitude: 120.915066, latitude: 29.350985 },
    { longitude: 121.186977, latitude: 29.370135 },
    { longitude: 120.645901, latitude: 29.600851 },
    { longitude: 120.872494, latitude: 29.65457 },
    { longitude: 120.957638, latitude: 29.777417 },
    { longitude: 120.582729, latitude: 29.792911 },
    { longitude: 120.354763, latitude: 29.854865 },
    { longitude: 120.908199, latitude: 30.086847 },
    { longitude: 120.78735, latitude: 30.129615 },
  ]
}

// 集贸市场点位
export const chuZhiZhongDuanMarkers = {
  icon: 'icon-shichang',
  position: [
    { longitude: 120.692593, latitude: 29.81317 },
    { longitude: 120.740658, latitude: 29.944153 },
    { longitude: 120.412441, latitude: 29.967949 },
    { longitude: 120.843655, latitude: 30.104669 },
    { longitude: 120.331417, latitude: 29.823893 },
    { longitude: 120.89584, latitude: 29.811978 },
  ]
}

// 建筑工地点位
export const jianZhuGongDiMarkers = {
  icon: 'icon-jianzhugongdi',
  position: [
    { longitude: 120.377224, latitude: 30.091345 },
    { longitude: 120.796078, latitude: 30.14955 },
    { longitude: 120.980099, latitude: 29.824828 },
    { longitude: 120.591457, latitude: 29.784313 },
    { longitude: 120.320919, latitude: 29.790272 },
    { longitude: 120.636776, latitude: 29.675793 },
    { longitude: 120.95538, latitude: 29.681758 },
    { longitude: 121.135281, latitude: 29.509805 },
    { longitude: 120.852383, latitude: 29.390221 },
  ]
}

// 机关点位
export const zhongDianYuanQuMarkers = {
  icon: 'icon-jiguan',
  position: [
    { longitude: 120.566738, latitude: 29.538484 },
    { longitude: 120.787838, latitude: 29.613729 },
    { longitude: 120.800198, latitude: 29.806956 },
    { longitude: 120.316799, latitude: 29.804573 },
    { longitude: 120.399197, latitude: 29.576711 },
    { longitude: 120.669735, latitude: 29.876045 },
    { longitude: 120.599697, latitude: 30.012892 },
    { longitude: 120.462368, latitude: 29.986727 },
    { longitude: 120.962246, latitude: 29.866519 },
  ]
}

// 产废企业点位
export const chanFeiQiYeMarkers = {
  icon: 'icon-qiye1',
  position: [
    { longitude: 121.089962, latitude: 29.439268 },
    { longitude: 120.698574, latitude: 29.5349 },
    { longitude: 120.386837, latitude: 29.786696 },
    { longitude: 120.620297, latitude: 29.827211 },
    { longitude: 120.879849, latitude: 29.831977 },
    { longitude: 120.480221, latitude: 29.977211 },
    { longitude: 120.660122, latitude: 30.206534 },
    { longitude: 120.84689, latitude: 30.119858 },
  ]
}

// // 村镇点位
// export const yunShuQiYeMarkers = {
//   icon: 'icon-gongluyanxiancunzhen',
//   position: [
//     { longitude: 120.725278, latitude: 29.988568 },
//     { longitude: 120.643395, latitude: 30.023353 },
//     { longitude: 120.556191, latitude: 29.949309 },
//   ]
// }

// 医院诊所点位
export const yiYuanZhenSuoMarkers = {
  icon: 'icon-shequ',
  position: [
    { longitude: 120.496968, latitude: 29.991244 },
    { longitude: 120.705365, latitude: 30.026029 },
    { longitude: 120.719441, latitude: 29.982472 },
  ]
}

// 企业点位
export const keYanYuanSuoMarkers = {
  icon: 'icon-qiye1',
  position: [
    { longitude: 120.2756, latitude: 29.796231 },
    { longitude: 120.535153, latitude: 29.90343 },
    { longitude: 120.938494, latitude: 29.851893 },
    { longitude: 120.860217, latitude: 29.904287 },
    { longitude: 120.629504, latitude: 29.801856 },
    { longitude: 120.963213, latitude: 29.575182 },
    { longitude: 120.647357, latitude: 29.582348 },
  ]
}

// 商场点位
export const huaGongQiYeMarkers = {
  icon: 'icon-shangchang',
  position: [
    { longitude: 120.328753, latitude: 29.866185 },
    { longitude: 120.477068, latitude: 29.978068 },
    { longitude: 120.677569, latitude: 29.82926 },
    { longitude: 120.889056, latitude: 29.817346 },
    { longitude: 120.889056, latitude: 29.658753 },
    { longitude: 120.637743, latitude: 29.619364 },
    { longitude: 121.130755, latitude: 29.491542 },
    { longitude: 120.843737, latitude: 29.353983 },
    { longitude: 120.578692, latitude: 29.496323 },
    { longitude: 120.183184, latitude: 29.65756 },
    { longitude: 120.32738, latitude: 29.472415 },
  ]
}

// 重点农户点位
export const zhongDianNongHuMarkers = {
  icon: 'icon-nonghu',
  position: [
    { longitude: 120.622251, latitude: 29.986299 },
    { longitude: 120.452341, latitude: 29.963251 },
    { longitude: 120.435278, latitude: 29.996626 },
  ]
}

// 家庭点位
export const yangZhiChangMarkers = {
  icon: 'icon-jiating',
  position: [
    { longitude: 120.357592, latitude: 29.497519 },
    { longitude: 120.249102, latitude: 29.819729 },
    { longitude: 120.405657, latitude: 29.860231 },
    { longitude: 120.65697, latitude: 29.633689 },
    { longitude: 120.661089, latitude: 29.786363 },
    { longitude: 120.975573, latitude: 29.814963 },
    { longitude: 121.063464, latitude: 29.441325 },
    { longitude: 120.834124, latitude: 29.37433 },
    { longitude: 120.634997, latitude: 29.988773 },
    { longitude: 120.842364, latitude: 30.089824 },
    { longitude: 120.699542, latitude: 30.165841 },
    { longitude: 120.472949, latitude: 29.992341 },
  ]
}

// 收集点点位
export const shouJiDianMarkers = {
  icon: 'icon-mokuai_shoujidianguanli',
  position: [
    { longitude: 120.624451, latitude: 29.986669 },
    { longitude: 120.478741, latitude: 29.943251 },
    { longitude: 120.437878, latitude: 29.996546 },
  ]
}

// 摄像机点位
export const sheXiangJiMaiMarkers = {
  icon: 'icon-shexiangji',
  position: [
    { longitude: 120.626421, latitude: 29.986562 },
    { longitude: 120.478411, latitude: 29.934751 },
    { longitude: 120.537478, latitude: 29.996546 },
  ]
}

// 过程监管数据
export const guoChenJG = {
  columns: [
    { title: '固废类别', dataIndex: 'a', key: 'a' },
    { title: '产生量(t)', dataIndex: 'b', key: 'b' },
    { title: '运输量(t)', dataIndex: 'c', key: 'c' },
    { title: '处置量(t)', dataIndex: 'd', key: 'd' },
    { title: '利用量(t)', dataIndex: 'e', key: 'e' },
  ],
  dataSource: [
    { a: "生活垃圾", b: '213312', c: '198332', d: '153773', e: '3281' },
    { a: "建筑垃圾", b: '123321', c: '110389', d: '53993', e: '43211' },
    { a: "工业固废", b: '339951', c: '330489', d: '223812', e: '103982' },
    { a: "危险废物", b: '109216', c: '104382', d: '82321', e: '4321' },
  ]
}

// 累计细胞数
export const totalNumMarkers = [
  // 诸暨市
  { longitude: 120.24902, latitude: 29.68798 },
  { longitude: 120.317684, latitude: 29.711838 },
  { longitude: 120.251766, latitude: 29.742844 },
  { longitude: 120.209194, latitude: 29.742844 },
  { longitude: 120.243526, latitude: 29.699909 },
  { longitude: 120.221554, latitude: 29.721379 },
  { longitude: 120.24902, latitude: 29.742844 },
  { longitude: 120.291592, latitude: 29.699909 },
  { longitude: 120.247646, latitude: 29.702295 },
  { longitude: 120.294338, latitude: 29.728535 },
  { longitude: 120.283352, latitude: 29.763112 },
  { longitude: 120.22018, latitude: 29.766689 },
  { longitude: 120.196834, latitude: 29.73092 },
  { longitude: 120.324551, latitude: 29.702295 },

  // 柯桥区
  { longitude: 120.438534, latitude: 30.060702 },
  { longitude: 120.476986, latitude: 30.101105 },
  { longitude: 120.409695, latitude: 30.066644 },
  { longitude: 120.44128, latitude: 30.003634 },
  { longitude: 120.468746, latitude: 29.972708 },
  { longitude: 120.448147, latitude: 30.02266 },
  { longitude: 120.460506, latitude: 30.058325 },
  { longitude: 120.486599, latitude: 30.073775 },
  { longitude: 120.433041, latitude: 30.073775 },
  { longitude: 120.394588, latitude: 30.030983 },
  { longitude: 120.474239, latitude: 30.047627 },
  { longitude: 120.45364, latitude: 30.076152 },

  // 越城区
  { longitude: 120.632168, latitude: 30.007201 },
  { longitude: 120.669247, latitude: 30.003634 },
  { longitude: 120.637661, latitude: 29.99293 },
  { longitude: 120.667873, latitude: 29.99293 },
  { longitude: 120.643154, latitude: 30.015526 },
  { longitude: 120.641781, latitude: 30.038116 },
  { longitude: 120.667873, latitude: 30.032172 },
  { longitude: 120.684353, latitude: 30.00958 },
  { longitude: 120.619808, latitude: 30.033361 },
  { longitude: 120.606075, latitude: 29.988172 },
  { longitude: 120.665127, latitude: 29.983414 },

  // 上虞区
  { longitude: 120.846401, latitude: 29.970329 },
  { longitude: 120.905453, latitude: 29.972708 },
  { longitude: 120.950771, latitude: 29.979846 },
  { longitude: 120.932918, latitude: 29.947723 },
  { longitude: 120.880733, latitude: 29.941773 },
  { longitude: 120.904079, latitude: 29.958431 },
  { longitude: 120.935665, latitude: 30.008391 },
  { longitude: 120.87936, latitude: 30.007201 },
  { longitude: 120.831295, latitude: 30.006012 },
  { longitude: 120.906826, latitude: 30.021471 },
  { longitude: 120.872494, latitude: 30.030983 },
  { longitude: 120.877987, latitude: 29.989361 },
  { longitude: 120.849148, latitude: 29.950102 },

  // 嵊州市
  { longitude: 120.682979, latitude: 29.537546 },
  { longitude: 120.680233, latitude: 29.587716 },
  { longitude: 120.65414, latitude: 29.63786 },
  { longitude: 120.748897, latitude: 29.611597 },
  { longitude: 120.720058, latitude: 29.58891 },
  { longitude: 120.798336, latitude: 29.591298 },
  { longitude: 120.75851, latitude: 29.62473 },
  { longitude: 120.769497, latitude: 29.645022 },
  { longitude: 120.742031, latitude: 29.619954 },
  { longitude: 120.835415, latitude: 29.608015 },
  { longitude: 120.831295, latitude: 29.611597 },
  { longitude: 120.769497, latitude: 29.615179 },
  { longitude: 120.744778, latitude: 29.593687 },

  // 新昌县
  { longitude: 120.910946, latitude: 29.391675 },
  { longitude: 120.931545, latitude: 29.406032 },
  { longitude: 121.011196, latitude: 29.409621 },
  { longitude: 120.943905, latitude: 29.434741 },
  { longitude: 120.923305, latitude: 29.420387 },
  { longitude: 121.002956, latitude: 29.403639 },
  { longitude: 120.931545, latitude: 29.408425 },
  { longitude: 120.898586, latitude: 29.439525 },
  { longitude: 120.993343, latitude: 29.453875 },
  { longitude: 121.037289, latitude: 29.406032 },
  { longitude: 120.961758, latitude: 29.388085 },
  { longitude: 120.932918, latitude: 29.406032 },
  { longitude: 120.964504, latitude: 29.445504 },
  { longitude: 120.928799, latitude: 29.450288 },
  { longitude: 120.916439, latitude: 29.390478 },
]

// 园区多边形路径
export const yuanQuPolygonsPath = [
  [120.268246, 29.875706],
  [120.125424, 29.757748],
  [120.081478, 29.683804],
  [120.191341, 29.587119],
  [120.358883, 29.540533],
  [120.4454, 29.643232],
  [120.463253, 29.755363],
  [120.417934, 29.843549],
  [120.372616, 29.887613],
]

let yuanLin = [120.316311, 29.859926];   // 园林废弃物处理
let tuRang =  [120.404202, 29.794699];    // 土壤修复中心
let canChu = [120.218464, 29.800359];    // 餐厨厂
let wuShui = [120.148769, 29.733603];     // 污水处理厂
let fenShao = [120.241467, 29.686786];   // 垃圾焚烧厂
let weiFei = [120.419308, 29.736584];     // 危废处置厂
let wuNi = [120.347897, 29.696032];      // 污泥处置厂
let zaiShen = [120.166622, 29.648602];   // 再生利用中心
let tianMai = [120.290905, 29.583834];   // 填埋场
let jianZhu = [120.380856, 29.643231];   // 建筑垃圾处置厂

// 园区各处理厂点位
export const yuanQuMarkersPath = [
  { longitude: yuanLin[0], latitude: yuanLin[1], icon: 'icon-yuanlin', title: '园林废弃物处理', },
  { longitude: tuRang[0], latitude: tuRang[1], icon: 'icon-turang', title: '土壤修复中心', },
  { longitude: canChu[0], latitude: canChu[1], icon: 'icon-canchulaji', title: '餐厨厂', },
  { longitude: wuShui[0], latitude: wuShui[1], icon: 'icon-wushuichang', title: '污水处理厂', },
  { longitude: fenShao[0], latitude: fenShao[1], icon: 'icon-shenghuolajifenshaochang', title: '垃圾焚烧厂', },
  { longitude: weiFei[0], latitude: weiFei[1], icon: 'icon-weifeixukezheng', title: '危废处置厂', },
  { longitude: wuNi[0], latitude: wuNi[1], icon: 'icon-wunilaji', title: '污泥处置厂', },
  { longitude: zaiShen[0], latitude: zaiShen[1], icon: 'icon-cycle', title: '再生利用中心', },
  { longitude: tianMai[0], latitude: tianMai[1], icon: 'icon-huizhatianmai1', title: '填埋场', },
  { longitude: jianZhu[0], latitude: jianZhu[1], icon: 'icon-jianzhucailiao', title: '建筑垃圾处置厂', },
]

let yuanQuYellowStyle = {
  color: "#ffcb49"
}

let yuanQuBlueStyle = {
  color: '#FF5B00'
}

let yuanQuGreenStyle = {
  color: '#fff',
  fontSize: 12,
  padding: 0,
  lineHeight: "15px",
}

// 园区各处理目标点位
export const yuanQuElementMarkers = [
  // 黄色部分
  { longitude: 120.343776, latitude: 29.914101, value: <span>园林废弃物<br/>82t/d</span>, style: yuanQuYellowStyle },
  { longitude: 120.135037, latitude: 29.840869, value: <span>餐厨垃圾<br/>206t/d</span>, style: yuanQuYellowStyle },
  { longitude: 120.049893, latitude: 29.770563, value: <span>污水管网<br/>200t/d</span>, style: yuanQuYellowStyle },
  { longitude: 120.051265, latitude: 29.631594, value: <span>生活垃圾<br/>600t/d</span>, style: yuanQuYellowStyle },
  { longitude: 120.111003, latitude: 29.562933, value: <span>废钢铁 13t/d<br/>废弃电器 8t/d<br/>报废汽车 23t/d<br/>废塑料 7t/d</span>, style: yuanQuYellowStyle },
  { longitude: 120.23872, latitude: 29.540235, value: <span>各区县填埋垃圾<br/>108t/d</span>, style: yuanQuYellowStyle },
  { longitude: 120.408321, latitude: 29.542624, value: <span>建筑垃圾<br/>126t/d</span>, style: yuanQuYellowStyle },

  // 蓝色部分
  { longitude: 120.454326, latitude: 29.827765, value: <span>供电<br/>11.6万度</span>, style: yuanQuBlueStyle },
  { longitude: 120.018307, latitude: 29.713925, value: <span>有色金属<br/>40t/d</span>, style: yuanQuBlueStyle },
  { longitude: 120.467373, latitude: 29.619656, value: <span>铺路骨料<br/>23t/d</span>, style: yuanQuBlueStyle },

  // 绿色部分
  { longitude: 120.358196, latitude: 29.840869 , value: <span>肥料<br/>13t/d</span>, style: yuanQuGreenStyle },
  { longitude: 120.284725, latitude: 29.812871 , value: <span>沼气<br/>12t/d</span>, style: yuanQuGreenStyle },
  { longitude: 120.174862, latitude: 29.772351 , value: <span>回用水<br/>12t/d</span>, style: yuanQuGreenStyle },
  { longitude: 120.205761, latitude: 29.73718 , value: <span>剩余污泥<br/>88t/d</span>, style: yuanQuGreenStyle },
  { longitude: 120.235974, latitude: 29.770563 , value: <span>沼气<br/>88t/d</span>, style: yuanQuGreenStyle },
  { longitude: 120.380169, latitude: 29.722273 , value: <span>干化污泥<br/>62t/d</span>, style: yuanQuGreenStyle },
  { longitude: 120.297085, latitude: 29.699611 , value: <span>蒸汽<br/>112t/d</span>, style: yuanQuGreenStyle },
  { longitude: 120.345837, latitude: 29.73241 , value: <span>飞灰<br/>14t/d</span>, style: yuanQuGreenStyle },
  { longitude: 120.271679, latitude: 29.652481 , value: <span>炉渣<br/>23t/d</span>, style: yuanQuGreenStyle },
  { longitude: 120.214001, latitude: 29.635771 , value: <span>废渣<br/>28t/d</span>, style: yuanQuGreenStyle },
  { longitude: 120.343777, latitude: 29.605329 , value: <span>废渣<br/>36t/d</span>, style: yuanQuGreenStyle },
  { longitude: 120.213314, latitude: 29.711539 , value: <span>回用水<br/>42t/d</span>, style: yuanQuGreenStyle },
  { longitude: 120.170742, latitude: 29.713328 , value: <span>渗沥液<br/>64t/d</span>, style: yuanQuGreenStyle },
]

export const yuanQuDetailData = [
  {         // 园林废弃物处理到土壤修复中心
    from: yuanLin,
    to: tuRang,
    lineColor: '#fff',
    roundColor: "transparent",
    value: 95,
  },
  {         // 餐厨厂到土壤修复中心
    from: canChu,
    to: tuRang,
    lineColor: '#fff',
    roundColor: "transparent",
    value: 95,
  },
  {         // 污水处理厂到餐厨厂
    from: wuShui,
    to: canChu,
    lineColor: '#fff',
    roundColor: "transparent",
    value: 95,
  },
  {         // 污水处理厂到污泥处置厂
    from: wuShui,
    to: wuNi,
    lineColor: '#fff',
    roundColor: "transparent",
    value: 95,
  },
  {         // 餐厨厂到垃圾焚烧厂
    from: canChu,
    to: fenShao,
    lineColor: '#fff',
    roundColor: "transparent",
    value: 95,
  },
  {         // 污水处理厂到垃圾焚烧厂
    from: wuShui,
    to: fenShao,
    lineColor: '#fff',
    roundColor: "transparent",
    value: 95,
  },
  {         // 垃圾焚烧厂到污水处理厂
    from: fenShao,
    to: wuShui,
    lineColor: '#fff',
    roundColor: "transparent",
    value: 95,
  },
  {         // 污水处理厂到污泥处置厂
    from: wuShui,
    to: wuNi,
    lineColor: '#fff',
    roundColor: "transparent",
    value: 95,
  },
  {         // 垃圾焚烧厂到危废处置厂
    from: fenShao,
    to: weiFei,
    lineColor: '#fff',
    roundColor: "transparent",
    value: 95,
  },
  {         // 垃圾焚烧厂到污泥处置厂
    from: fenShao,
    to: wuNi,
    lineColor: '#fff',
    roundColor: "transparent",
    value: 95,
  },
  {         // 垃圾焚烧厂到填埋
    from: fenShao,
    to: tianMai,
    lineColor: '#fff',
    roundColor: "transparent",
    value: 95,
  },
  {         // 污泥处置厂到危废处置厂
    from: wuNi,
    to: weiFei,
    lineColor: '#fff',
    roundColor: "transparent",
    value: 95,
  },
  {         // 再生利用中心到填埋场
    from: zaiShen,
    to: tianMai,
    lineColor: '#fff',
    roundColor: "transparent",
    value: 95,
  },
  {         // 建筑垃圾处置厂到填埋场
    from: jianZhu,
    to: tianMai,
    lineColor: '#fff',
    roundColor: "transparent",
    value: 95,
  },



  {         // 园林废弃物到园林废弃物处理
    from: [120.343776, 29.914101],
    to: yuanLin,
    lineColor: '#ffcb49',
    roundColor: "transparent",
    value: 95,
  },
  {         // 餐厨垃圾到餐厨厂
    from: [120.135037, 29.840869],
    to: canChu,
    lineColor: '#ffcb49',
    roundColor: "transparent",
    value: 95,
  },
  {         // 污水管网到污水处理厂
    from: [120.049893, 29.770563],
    to: wuShui,
    lineColor: '#ffcb49',
    roundColor: "transparent",
    value: 95,
  },
  {         // 生活垃圾到垃圾焚烧厂
    from: [120.051265, 29.631594],
    to: fenShao,
    lineColor: '#ffcb49',
    roundColor: "transparent",
    value: 95,
  },
  {         // 废钢铁到再生利用中心
    from: [120.111003, 29.562933],
    to: zaiShen,
    lineColor: '#ffcb49',
    roundColor: "transparent",
    value: 95,
  },
  {         // 各区县填埋垃圾到填埋场
    from: [120.23872, 29.540235],
    to: tianMai,
    lineColor: '#ffcb49',
    roundColor: "transparent",
    value: 95,
  },
  {         // 建筑垃圾到建筑垃圾处置厂
    from: [120.408321, 29.542624],
    to: jianZhu,
    lineColor: '#ffcb49',
    roundColor: "transparent",
    value: 95,
  },

  {         // 建筑垃圾处置厂到铺路骨料
    from: jianZhu,
    to: [120.467373, 29.619656],
    lineColor: '#FF5B00',
    roundColor: "transparent",
    value: 95,
  },
  {         // 再生利用中心到有色金属
    from: zaiShen,
    to: [120.018307, 29.713925],
    lineColor: '#FF5B00',
    roundColor: "transparent",
    value: 95,
  },
  {         // 垃圾焚烧厂到供电
    from: fenShao,
    to: [120.454326, 29.827765],
    lineColor: '#FF5B00',
    roundColor: "transparent",
    value: 95,
  },
]
